[paket]
tanim   = Waf derleme sistemi
paketci = milisarge
grup    = sistem
url     = https://waf.io

[gerek]
derleme = python
calisma = python

[kaynak]
bz2      = $url

[sha512]
1       = a3a275fd4c81c7b7385c2da001f3924d272105b8f33839265ebbb38708051b7cb13b9b9019e84325707d04513de0c13b032b1ad21458aec6586d10df4ed8d5f5

[derle]
betik   = ./waf-light configure --prefix=/usr build --make-waf
betik   = sed -i '/^#==>$/,/^#<==$/d' waf

[pakur]
betik   = install -vDm 755 waf -t "$PKG/usr/bin"
betik   = install -vDm 644 wscript -t "$PKG/usr/share/$isim"
betik   = install -vDm 644 waflib/*.py -t "${PKG}/usr/lib/python3.9/site-packages/waf/waflib"
betik   = install -vDm 644 waflib/Tools/*.py -t "${PKG}/usr/lib/python3.9/site-packages/waf/waflib/Tools"
betik   = install -vDm 644 waflib/extras/*.py -t "${PKG}/usr/lib/python3.9/site-packages/waf/waflib/extras"
betik   = python -m compileall -d "/usr/lib/python3.9" "${PKG}/usr/lib/python3.9"
betik   = python -O -m compileall -d "/usr/lib/python3.9" "${PKG}/usr/lib/python3.9"
